// 学位管理
export default [
  {
    path: "/degree",
    redirect: "/degree/Degreeexamination",
    alwaysShow: false, // will always show the root menu
    name: "Degree",
    meta: {
      title: "学位管理",
      icon: "icon-xueweiguanli",
      roles: ["admin"], // you can set roles in root nav
    },
    children: [
      {
        path: "/Degree/Degreeexamination",
        component: () => import("@/views/Degree/Degreeexamination.vue"),
        name: "/Degreeexamination",
        meta: {
          title: "学位考试管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/Degree/Degreeconditions",
        component: () => import("@/views/Degree/Degreeconditions.vue"),
        name: "/Degreeconditions",
        meta: {
          title: "学位条件",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/Degree/Examineemanage",
        component: () => import("@/views/Degree/Examineemanage.vue"),
        name: "/Examineemanage",
        meta: {
          title: "考生管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/Degree/Degreescore",
        component: () => import("@/views/Degree/Degreescore.vue"),
        name: "/Degreescore",
        meta: {
          title: "学位成绩管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/Degree/Examindetail/:id",
        component: () => import("@/views/Degree/Examindetail.vue"),
        name: "/Examindetail",
        meta: {
          title: "考生详情",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "/Degree/Degreedetail/:id",
        component: () => import("@/views/Degree/Degreedetail.vue"),
        name: "/Degreedetail",
        meta: {
          title: "学位成绩详情",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "/Degree/Printdetail/:id",
        component: () => import("@/views/Degree/Printdetail.vue"),
        name: "/Printdetail",
        meta: {
          title: "学位成绩详情",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
    ],
  },
];
